﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace PBOffice.Model
{
    /// <summary>
    /// 用户表
    /// </summary>
    public  class Users
    {
        private int userNo;
        /// <summary>
        /// 用户编号
        /// </summary>
        public int UserNo
        {
            get { return userNo; }
            set { userNo = value; }
        }
        private int posNo;
        /// <summary>
        /// 岗位编号
        /// </summary>
        public int PosNo
        {
            get { return posNo; }
            set { posNo = value; }
        }
        private int depNo;
        /// <summary>
        /// 部门编号
        /// </summary>
        public int DepNo
        {
            get { return depNo; }
            set { depNo = value; }
        }
        private string userId;
        /// <summary>
        /// 帐号
        /// </summary>
        public string UserId
        {
            get { return userId; }
            set { userId = value; }
        }
        private string userPwd;
        /// <summary>
        /// 密码
        /// </summary>
        public string UserPwd
        {
            get { return userPwd; }
            set { userPwd = value; }
        }
        private string userName;
        /// <summary>
        /// 姓名
        /// </summary>
        public string UserName
        {
            get { return userName; }
            set { userName = value; }
        }
        private bool userGender;
        /// <summary>
        /// 性别。true为男，false为女
        /// </summary>
        public bool UserGender
        {
            get { return userGender; }
            set { userGender = value; }
        }
        private int userLeaderNo;
        /// <summary>
        /// 上级编号
        /// </summary>
        public int UserLeaderNo
        {
            get { return userLeaderNo; }
            set { userLeaderNo = value; }
        }
        private int userDiplomaNo;
        /// <summary>
        /// 学历
        /// </summary>
        public int UserDiplomaNo
        {
            get { return userDiplomaNo; }
            set { userDiplomaNo = value; }
        }
        private DateTime userEntryTime;
        /// <summary>
        /// 入职日期
        /// </summary>
        public DateTime UserEntryTime
        {
            get { return userEntryTime; }
            set { userEntryTime = value; }
        }
        private string userCareer;
        /// <summary>
        /// 工作经历
        /// </summary>
        public string UserCareer
        {
            get { return userCareer; }
            set { userCareer = value; }
        }
        private DateTime userBirthday;
        /// <summary>
        /// 生日
        /// </summary>
        public DateTime UserBirthday
        {
            get { return userBirthday; }
            set { userBirthday = value; }
        }
        private string userLandline;
        /// <summary>
        /// 固定电话
        /// </summary>
        public string UserLandline
        {
            get { return userLandline; }
            set { userLandline = value; }
        }
        private string userMobile;
        /// <summary>
        /// 手机
        /// </summary>
        public string UserMobile
        {
            get { return userMobile; }
            set { userMobile = value; }
        }
        private string userAddr;
        /// <summary>
        /// 地址
        /// </summary>
        public string UserAddr
        {
            get { return userAddr; }
            set { userAddr = value; }
        }
        private string userPostcode;
        /// <summary>
        /// 邮政编码
        /// </summary>
        public string UserPostcode
        {
            get { return userPostcode; }
            set { userPostcode = value; }
        }
        private string email;
        /// <summary>
        /// 邮箱
        /// </summary>
        public string Email
        {
            get { return email; }
            set { email = value; }
        }
        private bool userStatus;
        /// <summary>
        /// 状态。true为启用 false为禁用
        /// </summary>
        public bool UserStatus
        {
            get { return userStatus; }
            set { userStatus = value; }
        }
    }
}
